package speed;

public class ThreeOperator {
	public static void main(String[] args) {
		int a=10;
		int b=20;
		int c=30;
		int max=a>b?a:b;
		int Max1=max>c?max:c;
		int Max2=(a>b?a:b)>c?(a>b?a:b):c;
		System.out.println(Max1);
		System.out.println(Max2);
	}

}
